<template>
    <div class="withdraw">
        <img src="../../../static/images/success-green.png" alt="">
        <div class="text">您的订单已成功提交！</div>
        <van-button @click="eventClickJumpToPage" class="subButtom" type="primary">确认</van-button>
    </div>
</template>

<script>
    import { Button} from 'vant';
    export default {
        name: "withdraw",
        components: {
            [Button.name]: Button
        },
        methods: {
            eventClickJumpToPage() {
                this.$router.push({
                    path: '/shop/order-details', query: {
                        ordernumber: this.$route.query.ordernumber
                    }
                });
            }
        }
    }
</script>

<style lang="scss" scoped>
    .withdraw {
        text-align: center;
        img {
            width: 10rem;
            height: 10rem;
            margin-top: 8rem;
        }

        .text {
            font-size: 1.8rem;
            color: rgba(51, 51, 51, 1);
            margin: 3.6rem 0;
        }
    }
</style>
